package gui;

import javax.swing.JPanel;
import javax.swing.JTextArea;

public class Logger extends JPanel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	JTextArea logger = new JTextArea(30, 80);

	public Logger() {
		this.add(logger);
	}

	public void addLine(String line) {
		logger.setText(logger.getText() + "\n" + line);
	}
}
